﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListContactTrung.ascx.cs" Inherits="UserControl_HocVien_ListContactTrung" %>
<%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
 <table border="0" cellpadding="0" cellspacing="0" style="width:100%;">
    <tr>
        <%--<td style="width:230px;background-color:White;" valign="top">
             <table border="0" cellpadding="0" cellspacing="0" style="height:25px;" style="width:100%;">
                <tr>
                    <td class="HeadingTree" style="width:230px;">Danh sách các Level</td>
                    <td style="width:1px;"></td>
                </tr>
                <tr>
                    <td style="width:230px;" valign="top">
                        <ComponentArt:TreeView id="tvLevel" Width="230" Height="670"
                            AutoScroll="true"
                            FillContainer="true"
                            HoverPopupEnabled="true"
                            HoverPopupNodeCssClass="HoverPopup"
                            DragAndDropEnabled="false" 
                            NodeEditingEnabled="false"
                            KeyboardEnabled="false"
                            CssClass="TreeView" 
                            NodeCssClass="TreeNode" 
                            SelectedNodeCssClass="SelectedTreeNode" 
                            HoverNodeCssClass="HoverTreeNode"
                            LineImageWidth="19" 
                            LineImageHeight="20"
                            DefaultImageWidth="15" 
                            DefaultImageHeight="15"
                            ItemSpacing="0" 
                            ImagesBaseUrl="images/TreeView/"
                            NodeLabelPadding="1"
                            ParentNodeImageUrl="folder.gif" 
                            LeafNodeImageUrl="folder.gif" 
                            ShowLines="true" 
                            LineImagesFolderUrl="images/lines/"
                            CollapseNodeOnSelect="false"
                            EnableViewState="true"
                            runat="server" Visible="False" >
                          </ComponentArt:TreeView>  
                    </td>
                    <td style="width:1px;"></td>
                </tr>
            </table>
        </td>--%>
        <td style="background-color:White;" valign="top" >
            <table cellspacing="0" cellpadding="0" width="100%" >
                <tr>
		            <td colspan="6" align="left" class="HeadingTree" >Danh sách ứng viên</td>
	            </tr>
	            <tr>
                    <td colspan="6" align="left">
                        <asp:validationsummary id="vdsHocVien" CssClass="cssManField" runat="server" Font-Bold="True" BorderWidth="0" />
                        <asp:label id="lblMess" CssClass="cssManField" runat="server" />
                    </td>
                </tr>
	            <tr>
		            <td align="center" valign="top" style="height:670px;">
		                <table cellspacing="0" cellpadding="1" width="90%" border="0">
	                        <tr>
	                            <td align="center" >
	                                <asp:Panel ID="pnTimKiem" runat="server" GroupingText="Thông tin tìm kiếm ">
	                                    <table cellspacing="0" cellpadding="1" width="90%" border="0">
	                                        <tr>
		                                        <td align="right" style="width:10%;">
			                                        <asp:label id="lblMaHocVien" CssClass="cssLabel" runat="server" Text="<U>M</U>ã ứng viên:" />
		                                        </td>
		                                        <td style="width:30%;" align="left">
		                                            <asp:textbox id="txtMaHocVien" accessKey="m"   runat="server" MaxLength="20" Width="98%" />
		                                        </td>
		                                        <td style="width:15%;" align="right">
			                                        <asp:label id="lblTenHocVien" CssClass="cssLabel" runat="server"  Text="<U>T</U>ên học viên:" />
		                                        </td>
		                                        <td style="width:30%;" align="left">
			                                        <asp:textbox id="txtTenHocVien" accessKey="t"    runat="server" MaxLength="256" Width="96%" />
		                                        </td>
		                                        <td align="left" style="width:15%;" >
		                                            <asp:button id="btnSearch" accessKey="s" CssClass="cssButton" runat="server"  
                                                        Width="98px" Text="Lọc(s)" onclick="btnSearch_Click" />
		                                         </td>
	                                        </tr>
	                                        <tr>
		                                        <td align="right">
			                                        <asp:label id="lblDienThoai" CssClass="cssLabel" runat="server"  Text="Đ<U>i</U>ện thoại" />
		                                        </td>
		                                        <td  align="left">
		                                            <asp:textbox id="txtDienThoai" accessKey="i"    runat="server" MaxLength="20" Width="98%" />
		                                        </td>
		                                        <td align="right">
			                                        <asp:label id="lblEmail0" CssClass="cssLabel" runat="server"  
                                                       Text="<U>E</U>mail:" />
		                                        </td>
		                                        <td align="left">
			                                        <asp:textbox id="txtEmail" accessKey="e"    runat="server"  MaxLength="256" Width="96%" />
		                                        </td>
		                                        <td align="left" style="width:10%;" >
		                                            <asp:button id="btnReset" accessKey="r" CssClass="cssButton" runat="server" Width="98px" Text="Xóa trắng(r)" onclick="btnReset_Click" />
		                                        </td>
	                                        </tr>
	                                    </table>
	                                </asp:Panel>
	                            </td>
	                        </tr>
	                        <tr>
	                            <td align="left" >
	                                <asp:Panel ID="pnTrangThaiGoi" runat="server" GroupingText="Trạng thái gọi" 
                                        Visible="False">
                                        <asp:RadioButtonList ID="rblTrangThaiGoi" runat="server" RepeatColumns="5" 
                                            CellPadding="0" CellSpacing="0" BorderWidth="0" AutoPostBack="True" 
                                            onselectedindexchanged="rblTrangThaiGoi_SelectedIndexChanged" Width="100%" 
                                            Visible="False" />
	                                </asp:Panel>
	                            </td>
	                        </tr>
                            <tr>
	                            <td align="left" >
	                                <asp:Panel ID="pnTenTruong" runat="server" GroupingText="Trường chăm sóc" 
                                        Visible="False">
                                        <asp:RadioButtonList ID="rblTenTruong" runat="server" RepeatColumns="5" CellPadding="0" CellSpacing="0" BorderWidth="0" AutoPostBack="True" onselectedindexchanged="rblTenTruong_SelectedIndexChanged" Width="100%" />
	                                </asp:Panel>
	                            </td>
	                        </tr>
                            <tr>
	                            <td align="left" >
	                                &nbsp;</td>
	                        </tr>
	                        <tr>
                                 <td align="left" >
                                    <table border="0" cellpadding="0" cellspacing="0" style="width:100%;">
                                        <tr>
                                            <td align="left">
                                                
                                            </td>
                                            <td align="right">
                                                <asp:Button id="btnInDanhSach" accessKey="i" CssClass="cssButton" runat="server" Width="98px" Text="In danh sách(i)" onclick="btnInDanhSach_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>                                
	                        </tr>
	                        <tr>
	                            <td align="center" >
		                            <asp:GridView id="grvHocVien" runat="server" Width="100%" CellPadding="0" 
		                                AutoGenerateColumns="False" AllowPaging="True" 
		                                HeaderStyle-CssClass="cssGridHeader" EditRowStyle-CssClass="cssGridEdit" RowStyle-CssClass="cssGridCell" 
		                                AlternatingRowStyle-CssClass="cssGridAlterCell"  
                                        PagerStyle-CssClass="cssGridPager" SelectedRowStyle-CssClass="cssSelectedRow"
				                        DataKeyNames="ID" PageSize="16" PagerStyle-HorizontalAlign="Center"
				                        OnRowDataBound="grvHocVien_RowDataBound" OnRowDeleting="grvHocVien_RowDeleting" 
                                        onpageindexchanging="grvHocVien_PageIndexChanging" AllowSorting="True" 
                                        onsorting="grvHocVien_Sorting" EnableModelValidation="True">

                                        <EditRowStyle CssClass="cssGridEdit"></EditRowStyle>
                                        <HeaderStyle CssClass="cssGridHeader"></HeaderStyle>
				                        <PagerSettings Position="TopAndBottom" />
                                        <AlternatingRowStyle CssClass="cssGridAlterCell"></AlternatingRowStyle>
				                        <Columns>
					                        <asp:TemplateField Visible="False">
						                        <ItemTemplate>
							                        <asp:Label id="HocVienID" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ID") %>' />
						                        </ItemTemplate>
					                        </asp:TemplateField>
					                       <%-- <asp:TemplateField Visible="True">
						                        <ItemTemplate>
							                        <asp:Label id="LevelID" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.LevelID") %>' />
						                        </ItemTemplate>
					                        </asp:TemplateField>--%>
					                        <asp:BoundField DataField="Seq" SortExpression="Seq" HeaderText="STT" 
                                                ItemStyle-Width="10px" HeaderStyle-ForeColor="White" 
                                                ItemStyle-HorizontalAlign="Center" >
                                                <HeaderStyle ForeColor="White"></HeaderStyle>
                                                <ItemStyle HorizontalAlign="Center" Width="10px"></ItemStyle>
                                           </asp:BoundField>
					                        <%--<asp:TemplateField HeaderText="Mã ứng viên" SortExpression="MaHocVien" ControlStyle-Font-Underline="false"  HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Left">
                                                <ControlStyle Font-Underline="False"></ControlStyle>
                                                <HeaderStyle ForeColor="White"></HeaderStyle>
					                            <ItemStyle Width="10%"/>
					                            <ItemTemplate>
							                        <asp:Label id="lblMaHocVienGV" CssClass="cssGridLink" Target="_blank" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.MaHocVien") %>' />
						                        </ItemTemplate>						
					                        </asp:TemplateField>--%>	
					                        <asp:TemplateField HeaderText="Họ tên" SortExpression="HoTen" ControlStyle-Font-Underline="false"  HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Left">
                                                <ControlStyle Font-Underline="False"></ControlStyle>
                                                <HeaderStyle ForeColor="White"></HeaderStyle>
					                          <ItemStyle Width="100px"/>
					                            <ItemTemplate>
							                        <asp:Label id="lblHoTenGV" CssClass="cssLabel" Target="_blank" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.HoTen") %>' />
						                        </ItemTemplate>						
					                        </asp:TemplateField>
					                        <asp:BoundField DataField="DienThoai" SortExpression="DienThoai" 
                                                HeaderText="Điện thoại" HeaderStyle-ForeColor="White" ItemStyle-Width="70px" 
                                                ItemStyle-HorizontalAlign="Center" >
                                                <HeaderStyle ForeColor="White"></HeaderStyle>
                                                <ItemStyle HorizontalAlign="Center" Width="70px"></ItemStyle>
                                            </asp:BoundField>
					                        <asp:TemplateField HeaderText="Email" SortExpression="Email" ItemStyle-Width="70px" ControlStyle-Font-Underline="false"  HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Left">
					                            <ItemTemplate>
							                        <asp:Label id="lblEmailGV" CssClass="cssLabel" Target="_blank" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Email") %>' />
						                        </ItemTemplate>
                                                <ControlStyle Font-Underline="False"></ControlStyle>
                                                <HeaderStyle ForeColor="White"></HeaderStyle>
                                                <ItemStyle HorizontalAlign="Left" Width="70px"></ItemStyle>
					                        </asp:TemplateField>
					                        <%--<asp:TemplateField Visible="false" HeaderText="Gọi gần nhất" SortExpression="NgayGoi" ControlStyle-Font-Underline="false" ItemStyle-Width="12%" HeaderStyle-ForeColor="White" ItemStyle-HorizontalAlign="Center">
					                            <ItemTemplate>
							                        <asp:Label id="lblNgayGoiGanNhatGV" CssClass="cssLabel" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.NgayGoi") %>' />
						                        </ItemTemplate>	
                                                 <ControlStyle Font-Underline="False"></ControlStyle>
                                                    <HeaderStyle ForeColor="White"></HeaderStyle>
                                                    <ItemStyle HorizontalAlign="Center" Width="12%"></ItemStyle>					                        
                                            </asp:TemplateField>--%>
                                            <asp:BoundField DataField="DiLam" SortExpression="DiLam" HtmlEncode="false"  HeaderText="Nội dùng nhập trùng">
                                                <HeaderStyle ForeColor="White" />
                                                <ItemStyle Width="350px" />
                                            </asp:BoundField>						
					                       <%-- <asp:BoundField DataField="TenTrangThaiGoi" SortExpression="TenTrangThaiGoi" 
                                                HeaderStyle-ForeColor="White" HeaderText="Trạng thái " ItemStyle-Width="10%" 
                                                ItemStyle-HorizontalAlign="Center" >							
                                                <HeaderStyle ForeColor="White"></HeaderStyle>
                                                <ItemStyle HorizontalAlign="Center" Width="10%"></ItemStyle>
                                            </asp:BoundField>	--%>			                            
					                        
					                         <asp:BoundField DataField="CreateUser" HeaderText="TVTS nhập trùng">
                                                <HeaderStyle ForeColor="White" />
                                                <ItemStyle Width="100px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="CreateDate"   DataFormatString="{0:dd/MM/yyyy HH:mm}" HtmlEncode="false" HeaderText="Thời gian nhập trùng">
                                                <HeaderStyle ForeColor="White" />
                                                <ItemStyle Width="100px" />
                                            </asp:BoundField>		
				                        </Columns>
                                        <PagerStyle HorizontalAlign="Center" CssClass="cssGridPager"></PagerStyle>
                                        <RowStyle CssClass="cssGridCell"></RowStyle>
                                        <SelectedRowStyle CssClass="cssSelectedRow"></SelectedRowStyle>
	                                   </asp:GridView>
		                        </td>
	                        </tr>	
                        </table>
		            </td>
	            </tr>
            </table>
        </td>    
    </tr>
</table>

